<include file="Public/header.html"/>
</head>
<body style="overflow-x:hidden;">	
<style>
.font_color{color: #666666;}
</style>
<form class="layui-form" style="margin-bottom: 100px;">
<div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief" style="margin-left: 15px;">
  	<ul class="layui-tab-title">
	    <li class="layui-this" >
			<a href="{:U('Home/Web/Link/link',array('op'=>'index'))}">前端入口地址</a>
		</li>
  	</ul>
  	<div class="layui-tab-content">
  		<if condition=" $op eq 'index' "> 
		    <div class="layui-tab-item layui-show">	 
		    	<div class="layui-form-item" style="margin: 30px auto;">
		   	   		<label class="layui-form-label"></label>
			       	<div id="url1"></div>
			       	<p style="padding-left: 86px;font-size: 14px; color: #777;line-height: 30px;">（微信扫码 或 复制下方链接 查看前端页面）</p>
			   	</div>
		   	   	<div class="layui-form-item">
		   	   		<label class="layui-form-label">首页</label>
				    <input type="text" style="width:800px;" readonly="readonly" value="{$url}" class="layui-input">
			   	</div>
		   	</div>
		</if>
		<div style="display: block;clear: both;"></div>
  	</div>  
</div>  	
</form>
<include file="Public/footer.html"/>
<script src="__ROOT__/Public/js/qrcode.js?12" charset="utf-8"></script>
<script>	
layui.use('element', function(){
  	var element = layui.element;
}); 
var op ="{$op}";
if(op == 'index'){
	var oneurl = new QRCode('url1', {
	  	text: '{$url}',
	  	width: 250,
	  	height: 250,
	  	colorDark: '#000000',
	  	colorLight: '#ffffff',
	  	correctLevel: QRCode.CorrectLevel.H
	});
}
</script>
</body>
</html>